package com.danbay.cloud.account.entity;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * 合同信息
 *
 * @author SJG
 *         2017/12/26.
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("tb_contract")
public class Contract {
    /**
     * '合同号'
     */
    @TableId
    private String num;

    /**
     * '合同有效期起始时间'
     */
    private Date beginTime;
    /**
     * '合同有效期结束时间'
     */
    private Date endTime;
    /**
     * '1:已冻结，0:未冻结'
     */
    private Boolean freeze;
    /**
     * '冻结时间'
     */
    private Date freezeTime;
    /**
     * '所属企业'
     */
    private Integer enterpriseId;
    /**
     * '0:未删除、1:已删除'
     */
    private Boolean del;
    /**
     * '添加时间'
     */
    private Date addTime;
}
